package com.maktoub.apiinterfaceproject.exception;

import lombok.Data;

@Data
public class BaseException extends RuntimeException{
    String msg;
    int code;

    public BaseException( int code,String msg) {
        this.msg = msg;
        this.code = code;
    }
}
